package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.KingBdOrganization;

/**
 * 组织机构Mapper接口
 * 
 * @author ruoyi
 * @date 2021-04-28
 */
public interface KingBdOrganizationMapper 
{
    /**
     * 查询组织机构
     * 
     * @param id 组织机构ID
     * @return 组织机构
     */
    public KingBdOrganization selectKingBdOrganizationById(Long id);

    /**
     * 查询组织机构列表
     * 
     * @param kingBdOrganization 组织机构
     * @return 组织机构集合
     */
    public List<KingBdOrganization> selectKingBdOrganizationList(KingBdOrganization kingBdOrganization);

    /**
     * 新增组织机构
     * 
     * @param kingBdOrganization 组织机构
     * @return 结果
     */
    public int insertKingBdOrganization(KingBdOrganization kingBdOrganization);

    /**
     * 修改组织机构
     * 
     * @param kingBdOrganization 组织机构
     * @return 结果
     */
    public int updateKingBdOrganization(KingBdOrganization kingBdOrganization);

    /**
     * 删除组织机构
     * 
     * @param id 组织机构ID
     * @return 结果
     */
    public int deleteKingBdOrganizationById(Long id);

    /**
     * 批量删除组织机构
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteKingBdOrganizationByIds(Long[] ids);

    public int getNum(String fId);

    public List<Map<String, String>> getALL();

    public String fIdToCode(String fId);

    public String fCodeToId(String fCode);

    public  List<Map<String, String>> getALLnot();
}
